package pandora.bo.JMPG;

import java.util.List;

import pandora.dto.CommentDTO;
import pandora.dto.CustomerDTO;
import pandora.dto.RatingDTO;
import pandora.dto.StoreDTO;

public interface IStoreModule {
	public List<StoreDTO> getListStore();
	public StoreDTO getStoreDetail(String nif);
	public List<CommentDTO> getComments(String nif);
	public Float getAverageRatings(String nif);
	
	public Float getRatingsByType(String nif, String type);
	
	public void saveComment(CommentDTO comentario);
	
	public CustomerDTO getUserByUserName(String user);
	public RatingDTO getRating(String nif, String type, String usr);
	
	public void saveRating(List<RatingDTO> r);
}